package com.jjh.springframework.context;

import com.jjh.springframework.bean.BeansException;

/**
 * 实现此接口，既能感知到所属的 ApplicationContext
 *
 * @author jjh
 * @date 2021/06/29
 **/
public interface ApplicationContextAware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;

}
